package biz.ezcom.spring.ioc.service;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import biz.ezcom.spring.ioc.dao.UserDao;

@Service
@Scope	//默认：@Scope("singleton")
public class UserService {
	private UserDao userDao;

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}
	
}
